home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
015a
/
utility.zip
/
P.DOC
< prev
next >
Wrap
Text File
|
1990-04-24
|
10KB
|
209 lines
A.C.Software P.EXE {source code and ascii file queque printer}
P is easy to use with several options which are handy, both for the
programmer and the user.
P prints the date at the top of each file and the filename and page number
at the top of each page. The heading is centered according to what
width you select (it defaults to width 129, compressed print, what most
programmers use for source code). The page numbers can be for each file
or consecutive (so you can have a table of contents -see adv programmer
options below.)
P.EXE can be put on your root or DOS directory and loaded from all over
the harddrive. (whatever directory you have PATH set to.)
P.EXE prints files with whatever margin you specify (or no margin) so you
can either put the source code into a looseleaf binder or a traditional
data binder.
P.EXE paginates at 54 lines per page so source code in a data binder
can be easily seen.
P.EXE prints a source code (or any ascii file) with or without line numbers.
P.EXE will queque up to 40 files.
P.EXE shows a directory with the Mask you specify...
┌────────────────────────────────────────────┐
│P.EXE queque file printer, MAIN MENU options│
└────────────────────────────────────────────┘
NOTE: Putting in a 0 will exit all menus either to the calling menu
or to the next step. If you want to exit the program when
you are at the MAIN MENU, the easiest way to do this in an
orderly fashion is to put in a 0, press return at the list
directory option and then, at the place to input files, press
RETURN again. It will ask you "print more files?" A N to this
will put you out in DOS again.
[1] Change date DEFAULT: today's date
The program takes the date from the Operating system so if you pressed
return instead of putting the date in, you might get an old date here.
Simply select this option and put in the date you want to appear at
the top of the first page of each file.
[2] Change directory DEFAULT: directory you were on when you loaded the
program.
If you need to do another directory or even take files off another
drive, select this option. Put in the directory you want, specifying
the drive letter first. (eg C:\TURBOPAS or B:\) If the drive is not
found, it will give you an error message. (DOS may intercede here)
[3] Change Margin DEFAULT: Left margin = 10 chars
This will set the indent for the printing of the files you specify.
if you want the text of the file to be right up against the left
side of the paper, make this option equal to 0.
[4] Change Line Width DEFAULT: 129
This option decides upon what width the headings will center at. If
you are printing compressed print, you would leave it at default
otherwise if you are printing regular print, change this to 79.
If you select this and press the RETURN key [CR] it will put this
amount at 129.
[5] Print with line # DEFAULT: yes, print with line numbers
For most languages, line numbers are significant especially BASIC,
FORTRAN, COBOL and the like. Also, if you are using an editor with
the capability of 'jumping' to a certain line number, you would
probably want to leave this feature 'on'. This option is a toggle.
If you press 5, it will set it to the opposite way it was set before.
[6] Default file extsn DEFAULT: PAS
The default file extension can be handy especially when typing in
filenames to print for a large system. Set this at the extension
most of the files you want to print, have and then, you just have
to type in the first 8 letters of the filename and the program will
add the extension for you. Like if you are printing a large Clipper
system, you would select this option and change the extension to "PRG"
(only the letters of the extension - no period goes here.)
[7] Advanced Programmer Options
""""""""""""""""""""""""""""""""
This calls another menu of options which programmers might want... the
options are as follows:
[1] Accumulate # of lines DEFAULT: off
For printing large systems, you might want to know the lines of source
code in the system. If this is 'turned on', it will count the lines
in all the files you specify to be printed and print it out at the
end. If you have specified a Table of Contents, it will print it out
at the end of the Table of contents, otherwise will show the amount
on the screen.
[2] Print Table of Contents DEFAULT: off
In a large system, this is handy. It is a sequential list of files
which you have specified to be printed and what page each file begins
on. Turning on this option causes the page numbering to keep
accumulating instead of starting anew at the beginning of each file.
It would be handy for DOCS which are in several parts also. (Like if
you wanted to print the READ.ME file and this file, turning this
option on would furnish a page at the end telling you which page
number each file started on.)
[3] System Name for Table of contents DEFAULT: null
A cosmetic addition to the Table of Contents, this allows you to put
in the name of the group of files you are printing (eg. J.C. File
Maintenance System etc.).
┌─────────────────────┐
│ The Directory Lister│
└─────────────────────┘
This menu picks which mask the directory call will have
[1] all files Shows all files on the directory you have selected.
[2] Pascal source Shows a directory of all files with a PAS extension.
[3] dbase/Clipper/Fox Shows a directory of all files with PRG extention: for
PRG files dBASE, Clipper and Quicksilver source.
[4] text (.TXT) Shows a directory of all files with a TXT extension:
usually found on TeXT files.
[5] BATch files Shows a directory of all the MS/PC DOS BATch files
[6] DOC files Shows a directory of all files with a DOC extension:
Many ascii documentation files such as this one have
a DOC extension.
[7] Pascal INC files Shows all files with an INC extension. Mostly used in
programs associated with turbo pascal 3.0.
[8] C source code files For you C programmers who have not discovered the
wonders of turbo pascal 5.0 (sorry couldn't resist!)
[9] User defined If the system or files you want to print don't have
extension: any of the extensions about, you can use this
option to enter your own extension which you would
like to see. You can use wildcards like "?" which
makes a mask like "*.?".
Like for my file maintenance systems in PICK OS, I use
the extension "UPT".
┌─────────────────────────────┐
│ Enter files to be printed │
└─────────────────────────────┘
After the directory has shown on the screen, you will be told to ENTER
the names of the files you want printed (press [CR] after each file).
Enter these files at the "> " prompt. If it is a large directory, you
will be able to put in 2 or 4 files and then the screen will erase.
Don't worry, the system has recorded what files you put in. The enter
window is small when the directory takes up alot of room on the screen
in order to keep the directory from "scrolling" off the screen so you
can see what filenames you want to print at all times. If you change
your mind and don't want to print any files, just press a return [CR]
at the "> " prompt. Also, when you have finished putting in the files
you want to print, press a [CR] RETURN at the prompt and it will start
printing all your files. Go get a cup of coffee or a piece of cold
pizza (come on, ALL programmers have cold pizza in their fridges!)
Put in one file per prompt and press return to put in the next
file or to put in the RETURN [CR] to exit.
NOTE
"""""
This program will NOT load your printer so make sure you have enuff
paper in your printer before you start this operation! Also make sure
your printer is ON LINE (if all the lights are on and none of them are
RED, you can be pretty sure it is ON LINE). If you are printing at
width 129, make sure you have set your printer for Compressed print.
If you have an EPSON, you can use my PRINSET program to do this
otherwise, it's back to the manual or whatever.
If you aren't using the best programmer's editor (at the best price!)
check out QEDIT by SemWare. It's lightening fast, totally configurable,
has macros, 99 paste buffers, 5 windows on screen at once (different
files or same file) and much much more, all in one very
small 48K EXE file.
Qedit is shareware (you can d/l it from a BBS: Please register!) or...
If you can't find Qedit on a BBS, send 55 bucks to:
SemWare, 730 Elk Cove Ct.,Kennesaw, GA 30144-4047
----------------------------------------------------------------------------
Enjoy! Sue Widemark, AC Software, PO Box 7643, Phoenix, AZ 85011.
-----------------------------------------------------------------------------
REGISTERING your shareware will encourage some of the best software
authors to share their software at affordable prices!
-----------------------------------------------------------------------------